home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
CIncludes
/
CalendarDate.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-05-01
|
6KB
|
192 lines
/*
* This file was generated by the SOM Compiler.
* FileName: CalendarDate.h.
* Generated using:
* SOM Precompiler somipc: 2.18
* SOM Emitter emith.dll: 2.33
*/
#ifndef SOM_TCalendarDate_h
#define SOM_TCalendarDate_h
/*
* Passthru lines: File: "C.h", "before"
*/
#include <TimeObjects.h>
#include <som.h>
/*
* -- This emitter treats Method Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to change this default
*/
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
/*
* Define the class name as an object type
*/
#ifndef TCalendarDate
#define TCalendarDate SOMObject
#endif
#include <somobj.h>
/*
* Start of user-defined types:
*/
#ifndef SOMClass
#define SOMClass SOMObject
#endif /* SOMClass */
#ifndef SOMObject
#define SOMObject SOMObject
#endif /* SOMObject */
/*
* End of user-defined types.
*/
#define TCalendarDate_MajorVersion 1
#define TCalendarDate_MinorVersion 1
/*
* External name shortening if required
*/
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define TCalendarDateClassData d
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#ifdef OLDIBMSOMAPISUPPORT
#define TCalendarDate_classObj somNewClassReference(TCalendarDate)
#define _TCalendarDate TCalendarDate_classObj
#define TCalendarDateCClassData TCalendarDateClassData
#define TCalendarDateNewClass(major,minor) somNewVersionedClassReference(TCalendarDate,major,minor)
#endif
/* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
#define TCalendarDateMetaClass SOMClass
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=power
#endif
/*
* Declare the class data structure
*/
SOMEXTERN struct TCalendarDateClassDataStructure {
#ifdef OLDIBMSOMAPISUPPORT
SOMAny *classObject; /* always zero, use somNewClassReference instead */
#else
long zero;
#endif
somStaticClassInfo *sci;
somDToken instanceDataToken;
long reserved [3];
somMToken _get_fCalendarRef;
somMToken _set_fCalendarRef;
somMToken ValidateCalendarDate;
} SOMDLINK TCalendarDateClassData;
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=reset
#endif
#if !defined(TCalendarDate_Class_Source) && !defined(SOM_Module_calendardate_Source)
#if PRAGMA_IMPORT_SUPPORTED
#pragma import list TCalendarDateClassData
#endif
#endif
/*
* New macro for TCalendarDate
*/
#define TCalendarDateNew() somNewObject(TCalendarDate)
/*
* Override method: somInit
*/
#define TCalendarDate_somInit(somSelf) \
SOMObject_somInit(somSelf)
/*
* New Method: _get_fCalendarRef
*/
typedef UInt32 (SOMLINK *somTD_TCalendarDate__get_fCalendarRef)(TCalendarDate *somSelf, Environment *ev);
#define somMD_TCalendarDate__get_fCalendarRef "::TCalendarDate::fCalendarRef"
#define TCalendarDate__get_fCalendarRef(somSelf,ev) \
(SOM_Resolve(somSelf, TCalendarDate, _get_fCalendarRef) \
(somSelf,ev))
#ifndef SOMGD_get_fCalendarRef
#if defined _get_fCalendarRef || defined __get_fCalendarRef
#undef _get_fCalendarRef
#undef __get_fCalendarRef
#define SOMGD_get_fCalendarRef 1
#else
#define __get_fCalendarRef TCalendarDate__get_fCalendarRef
#endif /* __get_fCalendarRef */
#endif /* SOMGD_get_fCalendarRef */
/*
* New Method: _set_fCalendarRef
*/
typedef void (SOMLINK *somTD_TCalendarDate__set_fCalendarRef)(TCalendarDate *somSelf, Environment *ev,
UInt32 fCalendarRef);
#define somMD_TCalendarDate__set_fCalendarRef "::TCalendarDate::fCalendarRef"
#define TCalendarDate__set_fCalendarRef(somSelf,ev,fCalendarRef) \
(SOM_Resolve(somSelf, TCalendarDate, _set_fCalendarRef) \
(somSelf,ev,fCalendarRef))
#ifndef SOMGD_set_fCalendarRef
#if defined _set_fCalendarRef || defined __set_fCalendarRef
#undef _set_fCalendarRef
#undef __set_fCalendarRef
#define SOMGD_set_fCalendarRef 1
#else
#define __set_fCalendarRef TCalendarDate__set_fCalendarRef
#endif /* __set_fCalendarRef */
#endif /* SOMGD_set_fCalendarRef */
/*
* New Method: ValidateCalendarDate
*/
typedef OptionBits (SOMLINK *somTD_TCalendarDate_ValidateCalendarDate)(TCalendarDate *somSelf, Environment *ev,
OptionBits fieldSelector);
#define somMD_TCalendarDate_ValidateCalendarDate "::TCalendarDate::ValidateCalendarDate"
#define TCalendarDate_ValidateCalendarDate(somSelf,ev,fieldSelector) \
(SOM_Resolve(somSelf, TCalendarDate, ValidateCalendarDate) \
(somSelf,ev,fieldSelector))
#ifndef SOMGD_ValidateCalendarDate
#if defined _ValidateCalendarDate || defined __ValidateCalendarDate
#undef _ValidateCalendarDate
#undef __ValidateCalendarDate
#define SOMGD_ValidateCalendarDate 1
#else
#define _ValidateCalendarDate TCalendarDate_ValidateCalendarDate
#endif /* _ValidateCalendarDate */
#endif /* SOMGD_ValidateCalendarDate */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define TCalendarDate_somUninit SOMObject_somUninit
#define TCalendarDate_somDuplicateReference SOMObject_somDuplicateReference
#define TCalendarDate_somCompareReference SOMObject_somCompareReference
#define TCalendarDate_somRelease SOMObject_somRelease
#define TCalendarDate_somFree SOMObject_somFree
#define TCalendarDate_somCanDelete SOMObject_somCanDelete
#define TCalendarDate_somGetClass SOMObject_somGetClass
#define TCalendarDate_somGetClassName SOMObject_somGetClassName
#define TCalendarDate_somGetSize SOMObject_somGetSize
#define TCalendarDate_somIsA SOMObject_somIsA
#define TCalendarDate_somRespondsTo SOMObject_somRespondsTo
#define TCalendarDate_somIsInstanceOf SOMObject_somIsInstanceOf
#define TCalendarDate_somDispatch SOMObject_somDispatch
#define TCalendarDate_somClassDispatch SOMObject_somClassDispatch
#define TCalendarDate_somCastObj SOMObject_somCastObj
#define TCalendarDate_somResetObj SOMObject_somResetObj
#define TCalendarDate_somPrintSelf SOMObject_somPrintSelf
#define TCalendarDate_somDumpSelf SOMObject_somDumpSelf
#define TCalendarDate_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */
#endif /* SOM_TCalendarDate_h */